<?php

?>
<div class="panel panel-default">
    <div class="panel-body">
        <div class="form-horizontal adminex-form">
            <div class="form-group">
                <label class="col-lg-2 col-sm-3 control-label">单证号总数:</label>
                <div class="col-lg-10">
                    <label class="form-control"><?= $count ?></label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 col-sm-3 control-label">最大单证号:</label>
                <div class="col-lg-10">
                    <label class="form-control"><?= $max ?></label>
                </div>
            </div>
        </div>
    </div>
</div>

<form method="post" action="gen-voucher-form">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="form-horizontal adminex-form">
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label">口令:</label>
                    <div class="col-lg-10">
                        <input type="text" class="form-control" id="pwd" name="pwd">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label">单证号开始:</label>
                    <div class="col-lg-10">
                        <input type="text" class="form-control" id="startIndex" name="startIndex">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label">生成数量</label>
                    <div class="col-lg-10">
                        <input type="text" class="form-control" id="count" name="count">
                    </div>
                </div>
            </div>
        </div>
        <div class="panel-footer">
            <button class="btn btn-primary" type="submit">生成</button>
        </div>
    </div>
</form>